<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>chromium-browser</Name>
        <Homepage>http://code.google.com/chromium</Homepage>
        <Packager>
            <Name>Pisi Linux Admins</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>chromium-browser</Icon>
        <IsA>app:gui</IsA>
        <Summary>A WebKit powered web browser</Summary>
        <Description>Chromium-browser is an open-source web browser, powered by WebKit.</Description>
        <Archive sha1sum="0a9cd03476ac7ae829408240cd1d10465f9fb20d" type="tarxz">https://gsdview.appspot.com/chromium-browser-official/chromium-44.0.2403.155.tar.xz</Archive>
        <BuildDependencies>               
            <Dependency>alsa-lib-devel</Dependency>              
            <Dependency>at-spi2-atk-devel</Dependency>          
            <Dependency>atk-devel</Dependency>              
            <Dependency>cairo-devel</Dependency>            
            <Dependency>cups-devel</Dependency>        
            <Dependency>desktop-file-utils</Dependency>                  
            <Dependency>faac-devel</Dependency>                 
            <Dependency>ffmpeg-devel</Dependency>           
            <Dependency>flac-devel</Dependency>      
            <Dependency>pciutils-devel</Dependency>                      
            <Dependency>fontconfig-devel</Dependency>                 
            <Dependency>dbus-devel</Dependency>               
            <Dependency>gperf</Dependency>
            <Dependency>jack-audio-connection-kit-devel</Dependency>
            <Dependency>libavc1394-devel</Dependency>
            <Dependency>libgnome-keyring-devel</Dependency>
            <Dependency>speech-dispatcher-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>            
            <Dependency>gsm-devel</Dependency>         
            <Dependency>gtk2-devel</Dependency>     
            <Dependency>harfbuzz-devel</Dependency>        
            <Dependency>hunspell-devel</Dependency>       
            <Dependency>icu4c-devel</Dependency>
            <Dependency>imlib2-devel</Dependency>
            <Dependency>lame-devel</Dependency> 
            <Dependency>libdc1394-devel</Dependency>
            <Dependency>libdrm-devel</Dependency>
            <Dependency>libevent-devel</Dependency> 
            <Dependency>libexif-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>        
            <Dependency>libmtp-devel</Dependency>
            <Dependency>libogg-devel</Dependency> 
            <Dependency>libopus-devel</Dependency>
            <Dependency>libsecret-devel</Dependency>
            <Dependency>libtheora-devel</Dependency>
            <Dependency>libvdpau-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
            <Dependency>libvpx-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>    
            <Dependency>libXcursor-devel</Dependency>
            <Dependency>libXdamage-devel</Dependency>       
            <Dependency>libXext-devel</Dependency>  
            <Dependency>libXfixes-devel</Dependency>        
            <Dependency>libXi-devel</Dependency>            
            <Dependency>libXrandr-devel</Dependency>         
            <Dependency>libXrender-devel</Dependency>    
            <Dependency>libXScrnSaver-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency>minizip-devel</Dependency>
            <Dependency>mit-kerberos</Dependency>            
            <Dependency>nss-devel</Dependency>        
            <Dependency>opencore-amr-devel</Dependency>
            <Dependency>pango-devel</Dependency>               
            <Dependency>pulseaudio-libs-devel</Dependency>  
            <Dependency>python-lxml</Dependency>    
            <Dependency>schroedinger-devel</Dependency>
            <Dependency>snappy-devel</Dependency> 
            <Dependency>speex-devel</Dependency>                  
            <Dependency>valgrind</Dependency>  
            <Dependency>webp-devel</Dependency>
            <Dependency>x264-devel</Dependency>
            <Dependency>xdg-utils</Dependency>
            <Dependency>xvid-devel</Dependency> 
            <Dependency>ninja</Dependency> 
        </BuildDependencies>
        <Patches>
            <Patch>gentoo/chromium-libsecret-r0.patch</Patch>
            <Patch>gentoo/chromium-system-jinja-r7.patch</Patch>
            <Patch>opensuse/chromium-gcc-fixes.patch</Patch>
            <Patch>opensuse/chromium-master-prefs-path.patch</Patch>
            <Patch>opensuse/chromium-more-codec-aliases.patch</Patch>
            <Patch>opensuse/no-clang-on-packman.diff</Patch>
            <Patch>opensuse/adjust-ldflags-no-keep-memory.patch</Patch>
            <Patch>opensuse/chromium-sandbox-pie.patch</Patch>
            <Patch>pld-linux/dlopen_sonamed_gl.patch</Patch>
            <Patch>pld-linux/remove_bundled_libraries-stale.patch</Patch>
	    <Patch>pld-linux/chromium-browser-build.patch</Patch>
            <Patch>pld-linux/angle.patch</Patch>
            <Patch>pld-linux/system-mesa.patch</Patch>
            <Patch>pld-linux/ffmpeg-generate-errors.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>chromium-browser</Name>
        <RuntimeDependencies>
            <Dependency>alsa-lib</Dependency>    
            <Dependency>dbus</Dependency>            
            <Dependency>atk</Dependency>              
            <Dependency>cairo</Dependency>
            <Dependency>cups</Dependency>             
            <Dependency>flac</Dependency>             
            <Dependency>fontconfig</Dependency>       
            <Dependency>gdk-pixbuf</Dependency>       
            <Dependency>gtk2</Dependency>             
            <Dependency>libevent</Dependency>          
            <Dependency>libjpeg-turbo</Dependency>    
            <Dependency>libopus</Dependency>                  
            <Dependency>libXcomposite</Dependency>    
            <Dependency>libXcursor</Dependency>             
            <Dependency>libXdamage</Dependency>       
            <Dependency>libXext</Dependency>              
            <Dependency>libXfixes</Dependency>        
            <Dependency>libXi</Dependency>            
            <Dependency>libXrandr</Dependency>             
            <Dependency>libXrender</Dependency>       
            <Dependency>libXScrnSaver</Dependency>
            <Dependency>libXtst</Dependency>          
            <Dependency>minizip</Dependency>             
            <Dependency>mit-kerberos</Dependency>            
            <Dependency>nss</Dependency>              
            <Dependency>pango</Dependency>
            <Dependency>pepperflash</Dependency> <!-- no remove -->              
            <Dependency>pulseaudio-libs</Dependency>   
            <Dependency>speech-dispatcher</Dependency>
            <Dependency>speex</Dependency>              
            <Dependency>webp</Dependency>      
            <Dependency>pciutils</Dependency>
            <Dependency>nspr</Dependency>              
            <Dependency>zlib</Dependency>      
            <Dependency>expat</Dependency>  
            <Dependency>glib2</Dependency>              
            <Dependency>libX11</Dependency>      
            <Dependency>libgcc</Dependency>  
            <Dependency>libpng</Dependency>              
            <Dependency>snappy</Dependency>      
            <Dependency>freetype</Dependency>    
            <Dependency>harfbuzz</Dependency>                             
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/usr/share/applications</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/chromium-browser/master_preferences" >master_preferences</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/applications/chromium-browser.desktop" >chromium-browser.desktop</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/usr/bin/chromium-browser">chromium-browser.sh</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="16">
            <Date>2015-08-03</Date>
            <Version>44.0.2403.155</Version>
            <Comment>This version contains a number of  security updates and stability fixes.</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
        <Update release="15">
            <Date>2015-06-23</Date>
            <Version>43.0.2357.132</Version>
            <Comment>This version contains a number of  security updates and stability fixes.</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
        <Update release="14">
            <Date>2015-05-23</Date>
            <Version>42.0.2311.135</Version>
            <Comment>This version contains a number of  security updates and stability fixes.</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
        <Update release="13">
            <Date>2015-04-23</Date>
            <Version>42.0.2311.90</Version>
            <Comment>This version contains a number of  security updates and stability fixes.</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
        <Update release="12">
            <Date>2015-02-17</Date>
            <Version>40.0.2214.114</Version>
            <Comment>This version contains a number of  security updates and stability fixes.</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
        <Update release="11">
            <Date>2015-02-07</Date>
            <Version>40.0.2214.94</Version>
            <Comment>Version bump.</Comment>
            <Name>Vedat Demir</Name>
            <Email>vedat@pisilinux.org</Email>
        </Update>
        <Update release="10">
            <Date>2014-04-07</Date>
            <Version>33.0.1750.152</Version>
            <Comment>Version bump.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="9">
            <Date>2014-02-24</Date>
            <Version>33.0.1750.117</Version>
            <Comment>Version bump, switch bootstrapping NaCl.</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
        <Update release="8">
            <Date>2013-11-25</Date>
            <Version>33.0.1707.0</Version>
            <Comment>Fix dep.</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2013-11-18</Date>
            <Version>33.0.1707.0</Version>
            <Comment>Fix dep.</Comment>
            <Name>Richard de Bruin</Name>
            <Email>richdb@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2013-11-13</Date>
            <Version>33.0.1707.0</Version>
            <Comment>V.Bump</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2013-07-07</Date>
            <Version>29.0.1547.0</Version>
            <Comment>V.Bump</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2013-03-27</Date>
            <Version>27.0.1425.0</Version>
            <Comment>V.Bump</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2013-01-22</Date>
            <Version>27.0.1418.2</Version>
            <Comment>V.Bump</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-01-22</Date>
            <Version>26.0.1390.0</Version>
            <Comment>Güncellendi.</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-12-25</Date>
            <Version>26.0.1370.0</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>